import request from '../axios'

/**
 * 进入页面后请求
 */
export function machine_order(data) {
    return request({
        url: 'order/machine_order',
        method: 'post',
        data,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        }
    })
}

/**
 * 进入页面后支付提交
 */
export function machine_pay(data) {
    return request({
        url: 'order/machine_pay',
        method: 'post',
        data,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        }
    })
}
